package com.kehutong.work.order.manage.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

@Table(value="t_work_order_manage_type", comment="工单类型", multi=true, idType = IDType.TIMESTAMP,isSyncGenerateTable = true)
public class WorkOrderManageType extends Entity {

    private static final long serialVersionUID = 6524169995479779444L;

    protected WorkOrderManageType(String id) {
        super(id);
    }

    @Column(comment = "名称")
    private String name;

    @Column(comment = "排序")
    private Integer sort;

    @Column(comment="启用状态")
    private boolean enable;

    @Column(comment = "逻辑删除")
    private boolean deleted;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
